﻿using System;
using UnityEngine;

namespace IllusionUtility.SetUtility
{
	// Token: 0x0200064E RID: 1614
	public static class TransformPositionEx
	{
		// Token: 0x06002665 RID: 9829 RVA: 0x00147884 File Offset: 0x00145A84
		public static void SetPositionX(this Transform transform, float x)
		{
			Vector3 position = new Vector3(x, transform.position.y, transform.position.z);
			transform.position = position;
		}

		// Token: 0x06002666 RID: 9830 RVA: 0x001478BC File Offset: 0x00145ABC
		public static void SetPositionY(this Transform transform, float y)
		{
			Vector3 position = new Vector3(transform.position.x, y, transform.position.z);
			transform.position = position;
		}

		// Token: 0x06002667 RID: 9831 RVA: 0x001478F4 File Offset: 0x00145AF4
		public static void SetPositionZ(this Transform transform, float z)
		{
			Vector3 position = new Vector3(transform.position.x, transform.position.y, z);
			transform.position = position;
		}

		// Token: 0x06002668 RID: 9832 RVA: 0x0014792C File Offset: 0x00145B2C
		public static void SetPosition(this Transform transform, float x, float y, float z)
		{
			Vector3 position = new Vector3(x, y, z);
			transform.position = position;
		}

		// Token: 0x06002669 RID: 9833 RVA: 0x0014794C File Offset: 0x00145B4C
		public static void SetLocalPositionX(this Transform transform, float x)
		{
			Vector3 localPosition = new Vector3(x, transform.localPosition.y, transform.localPosition.z);
			transform.localPosition = localPosition;
		}

		// Token: 0x0600266A RID: 9834 RVA: 0x00147984 File Offset: 0x00145B84
		public static void SetLocalPositionY(this Transform transform, float y)
		{
			Vector3 localPosition = new Vector3(transform.localPosition.x, y, transform.localPosition.z);
			transform.localPosition = localPosition;
		}

		// Token: 0x0600266B RID: 9835 RVA: 0x001479BC File Offset: 0x00145BBC
		public static void SetLocalPositionZ(this Transform transform, float z)
		{
			Vector3 localPosition = new Vector3(transform.localPosition.x, transform.localPosition.y, z);
			transform.localPosition = localPosition;
		}

		// Token: 0x0600266C RID: 9836 RVA: 0x001479F4 File Offset: 0x00145BF4
		public static void SetLocalPosition(this Transform transform, float x, float y, float z)
		{
			Vector3 localPosition = new Vector3(x, y, z);
			transform.localPosition = localPosition;
		}
	}
}
